/*
 * @Author: zsc
 * @Date: 2022-06-29 21:32:27
 * @LastEditors: zsc
 * @LastEditTime: 2022-06-29 22:35:17
 * @Description: 预警接口
 */
import request from '@/utils/request'

export function getWarningList(data) {
  return request({
    url: '/api/adminVisitor/index',
    method: 'post',
    data
  })
}

export function relieveWarning(data) {
  data.status = 1
  return request({
    url: '/api/adminVisitor/update',
    method: 'post',
    data
  })
}
